package com.chat.service;

import com.chat.view.InviteFriendController;


import java.util.concurrent.ConcurrentHashMap;

public class ManageInviteFriend {
    private static final ConcurrentHashMap<String, InviteFriendController> kk = new ConcurrentHashMap<>();

    public static void add(String username,InviteFriendController inviteFriendController){
        kk.put(username,inviteFriendController);
    }
    public static InviteFriendController get(String username){
        return kk.get(username);
    }
}
